<script>
	import common from 'utils/common.js'
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			// let temp = {
			// 	avatar: "https://wx.qlogo.cn/mmopen/vi_32/DYAIOgq83erJYPxnyaIFBDYgQGEw8oc9MmjhJMMyz1iaECTbrRYJibAWz2AiaMeHob9GRWzicVR67Qg85sYwd0bOyg/132",
			// 	doctorId: "00000000-0000-0000-0000-000000000000",
			// 	id: "d885de39-91d0-49bf-bfb4-08d8271a0cd5",
			// 	jobNo: null,
			// 	menuList: '',
			// 	nickName: "云在天上飘",
			// 	phoneNumber: "18987422570",
			// 	subscribe: "0",
			// 	token: null,
			// 	trueName: null,
			// 	userSex: "男"
			// }
			 
			//  common.setUserInfo(temp)
			
			// let token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIzODMwNzZGRUZBMjIyNzc1REI2NzE4NjA3MDlDMjAxMUUzQThBMUZENjQxMzc3NjlBOTFCN0M2QTM3NzI0RUQ1MUM4MTRDRjdBMkJBMTU4MCIsImlhdCI6IjE1OTUzMTAyNTMiLCJuYmYiOiIxNTk1MzEwMjUzIiwiZXhwIjoiMTU5NTkxNTA1MyIsImlzcyI6IkFQSV9TSE9lbV9IengiLCJhdWQiOiJTSE9lbV9BcHBfVXNlciIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiLkupHlnKjlpKnkuIrpo5giLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiIyIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy91c2VyZGF0YSI6IjBCREZENEYwQTQ4Qjk3MUYzMTRERDAyNkQzNjEzODdDRTBCRjBBQ0MwNkNCRUQ5RDY0NEI3QURDQzNCOUQzNjRBQzkxNUM4REFGNzEzOUE2NDREMDEwNjQwMzU1MTNCRUM4QzFFOEUyQTU2MTgwQThEOTgxM0M5RTlFMUVCODlGMTEzM0I1MUVFOTlFNEMwOTA2MzVBMjRCQjNFQzY0RTZEQTVFNUY0MDM3Qjg1NEQ5RTJGMTIyRjBCMjFBMzNDNjQzMTc3ODgxRDRFRTRDQTkifQ.rDgs5eyERzWYfV3iaKielyCGhJniRU9LFacr-2MVFWM"
			// common.setStorage('token', token)
			
			let userInfo = common.getUserInfo()
			console.log(userInfo);
			console.log('isLogin:' + this.$isLogin());
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
		@import "uview-ui/index.scss";
</style>
